<div class="header">
    <back-Btn></back-Btn>
    汇保证金
    <div class="right-btn" ng-click="submit()">
        提交
    </div>
</div>
<div class="container finance">
    <div class="list f_sk">
        <div class="list-item flex icon_rightArrow required" ng-click="choosePeople()">
            <div class="w40 c9">工程名称:</div>
            <div class="w60">{{param.projectName}}</div>
        </div>
        <div class="list-item flex readonly">
            <div class="w40 c9">保证金类型:</div>
            <div class="w60">汇投标保证金</div>
        </div>
        <div class="list-item flex icon_menu required" ng-click="showSheet('paywayObj')">
            <div class="w40 c9">转款方式:</div>
            <div class="w60" ng-class="{cd9:!param.payWayContent}">{{param.payWayContent||"必填"}}</div>
        </div>
        <div class="list-item no-border">
            <div class="c9">公司收款帐户:</div>
            <input type="text" ng-model="param.receiptName" />
        </div>
        <div class="list-item icon_clock required" ng-click="showdatepicker('start_date')">
            <label class="flex">
                <div class="c9 w45">到账截至日期:</div>
                <div class="w55">
                    <input type="text" date-directive id="start_date" ng-model="param.endDate" datetype="datetime" />
                </div>
            </label>
        </div>
        <div class="list-item list-item-textarea required">
            <div class="c9">转账说明:</div>
            <textarea cols="30" rows="10" ng-model="param.remark"></textarea>
        </div>
        <div class="fundSoruce mt10">
            <label class="c-blue lh20">款项来源人</label>
            <div class="fundSoruce-item mt5">
                <div class="list-item  no-border">
                    <div class="c9">款项来源人:</div>
                    <input ng-disabled="!disabled()" type="text" ng-model="param.fundSorucePerson" />
                </div>
                <div class="list-item list-item-textarea no-border required" ng-hide="param.payType==3">
                    <div class="c9">来款金额:</div>
                    <input ng-disabled="!disabled()" type="text" ng-model="param.fundSoruceMoney" tel-directive/>
                </div>
                <div class="list-item no-border">
                    <div class="c9">来源人账户:</div>
                    <input ng-disabled="!disabled()" type="text" ng-model="param.fundSoruceAccount" />
                </div>
                <div class="list-item no-border">
                    <div class="c9">来源人开户行:</div>
                    <input ng-disabled="!disabled()" type="text" ng-model="param.fundSoruceBank" />
                </div>
            </div>
            <div class="fundSoruce-item mt5" ng-repeat="item in param.fundSoruceList">
                <div class="list-item no-border mt10">
                    <div class="c9">款项来源人:</div>
                    <div class="t10">
                        {{item.person}}
                    </div>
                </div>
                <div class="list-item no-border" ng-hide="param.payType==3">
                    <div class="c9">来款金额:</div>
                    <div class="t10">
                        {{item.money}}
                    </div>
                </div>
                <div class="list-item no-border">
                    <div class="c9">来源人账户:</div>
                    <div class="t10">
                        {{item.account}}
                    </div>
                </div>
                <div class="list-item no-border">
                    <div class="c9">来源人开户行:</div>
                    <div class="t10">
                        {{item.bank}}</div>
                </div>
                <div class="btn" ng-click="deletedItem($index)">删除</div>
            </div>
            <div class="btn mt10" ng-click="addfundSorucePenson()" ng-show="disabled()">添加款项来源人</div>
        </div>
        <div class="fundSoruce mt10">
            <label class="c-blue lh20">收款人</label>
            <div class="fundSoruce-item mt5">
                <div class="list-item no-border" ng-hide="param.payType==1">
                    <div class="c9">收款金额:</div>
                    <input type="text" ng-disabled="!disabled()" ng-model="param.receiveMoney" tel-directive/>
                </div>
                <div class="list-item no-border">
                    <div class="c9">收款人:</div>
                    <input ng-disabled="!disabled()" type="text" ng-model="param.receivePerson" />
                </div>
                <div class="list-item no-border">
                    <div class="c9">收款人账号:</div>
                    <input ng-disabled="!disabled()" type="tel" ng-model="param.receiveAccount" />
                </div>
                <div class="list-item no-border">
                    <div class="c9">收款人开户行:</div>
                    <input ng-disabled="!disabled()" type="text" ng-model="param.receiveBank" />
                </div>
            </div>
            <div class="fundSoruce-item mt5" ng-repeat="item in param.receiveList">
                <div class="list-item no-border">
                    <div class="c9">收款金额:</div>
                    <div class="readonly"> {{item.money}}</div>
                </div>
                <div class="list-item no-border">
                    <div class="c9">收款人:</div>
                    <div class="readonly"> {{item.person}}</div>
                </div>
                <div class="list-item no-border">
                    <div class="c9">收款人账号:</div>
                    <div class="readonly">{{item.account}}</div>
                </div>
                <div class="list-item no-border">
                    <div class="c9">收款人开户行:</div>
                    <div class="readonly"> {{item.bank}}</div>
                </div>
            </div>
        </div>
        <!-- 自定义字段 -->
        <div user-defined field-map="param.fieldMap" validation="validation"></div>
        <!-- 审查日志 -->
        <div log-list log-result='logData.result'></div>
        <!-- 删除流程 -->
        <div delete-flow id="{{param.processInstanceId}}" ng-show="logData.result.length"></div>
    </div>
</div>
<div class="list tablestyle pickceritem" ng-show="showFundPerson">
    <div class="list-item">
        <div class="grid list-content">
            <div class="col-5-12 c9">款项来源人</div>
            <div class="col-7-12">
                <input type="text" ng-model="picker.person" />
            </div>
        </div>
        <div class="grid list-content required">
            <div class="col-5-12 c9">来款金额</div>
            <div class="col-7-12">
                <input type="tel" ng-model="picker.money" tel-directive />
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-5-12 c9">来源人帐号</div>
            <div class="col-7-12">
                <input type="tel" ng-model="picker.account" />
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-5-12 c9">来源人开户行</div>
            <div class="col-7-12">
                <input type="text" ng-model="picker.bank" />
            </div>
        </div>
    </div>
    <div class="pickceritem-btn tc flex">
        <div class="cancel" ng-click="cacelFundPerson()">取消</div>
        <div class="confirm" ng-click="confirmFundPerson()">确定</div>
    </div>
</div>
<sheet-action ng-show="sheetObj.ifshowSheet" sheet-data="sheetObj"></sheet-action>
